//
// Time.hpp for  in /home/lund/Projets/pizzaillo
// 
// Made by florian dewulf
// Login   <dewulf_f@epitech.net>
// 
// Started on  Mon Apr 15 14:38:11 2013 florian dewulf
// Last update Mon Apr 15 15:43:31 2013 florian dewulf
//

#ifndef		TIME_HPP__
# define	TIME_HPP__

#include	<iostream>
#include	<string>
#include	<sys/time.h>
#include	<unistd.h>

typedef unsigned int	u_int;

class		Time
{
public:
  Time();
  virtual	~Time();
  void		start();
  void		stop();
  u_int		diff() const;
  void		reset();

private:
  u_int		_time_begin;
  u_int		_time_end;
};

#endif
